package com.hotel.comm.bean.gold;

import com.hotel.comm.bean.EnumConstants.GainGoldWay;
import com.hotel.comm.bean.EnumConstants.IsVerify;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "TT_EJOB_USER_GOLD_HISTORY")
public class EjobUserGoldHistory {
    /**
     * 主键Id
     */
    private Long id;
    /**
     * 用户Id
     */
    private Long userId;
    /**
     * 获取金币途径
     */
    private GainGoldWay gainGoldWay;
    /**
     * 关联途径Id
     */
    private Long refWayId;
    /**
     * 金币数量
     */
    private Integer golds;
    /**
     * 是否校验通过
     */
    private IsVerify isVerify;
    /**
     * 创建日期
     */
    private Date createDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public GainGoldWay getGainGoldWay() {
        return gainGoldWay;
    }

    public void setGainGoldWay(GainGoldWay gainGoldWay) {
        this.gainGoldWay = gainGoldWay;
    }

    public Long getRefWayId() {
        return refWayId;
    }

    public void setRefWayId(Long refWayId) {
        this.refWayId = refWayId;
    }

    public Integer getGolds() {
        return golds;
    }

    public void setGolds(Integer golds) {
        this.golds = golds;
    }

    public IsVerify getIsVerify() {
        return isVerify;
    }

    public void setIsVerify(IsVerify isVerify) {
        this.isVerify = isVerify;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
